<!DOCTYPE html>
<html  theme="system"  lang="en">
  <head>
<title>naivebayes | Homepage</title>
<meta name="twitter:widgets:new-embed-design" content="on">
<meta name="color-scheme" content="light dark">
<meta name="keywords" content="naivebayes examples,How to use naivebayes">
<meta name="description" content="naivebayes GitHub homepage">
<meta property="og:url" content="https://github.surmon.me/naivebayes">
<meta property="og:image" content="https://opengraph.githubassets.com/1701158654631/surmon-china/naivebayes">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="600">
<meta name="twitter:site" content="@surmon7788">
<meta name="twitter:creator" content="surmon7788">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="naivebayes | Homepage">
<meta name="twitter:image" content="https://opengraph.githubassets.com/1701158654631/surmon-china/naivebayes">
<meta name="twitter:description" content="naivebayes GitHub homepage">
<meta property="og:site_name" content="Surmon's open-source projects">
<meta property="og:type" content="object">
<meta property="og:title" content="naivebayes | Homepage">
<meta property="og:description" content="naivebayes GitHub homepage">
<meta property="og:image:alt" content="naivebayes GitHub homepage">
    <meta charset="UTF-8" />
    
    <link rel="icon" type="image/x-icon" href="/favicon.ico" />
    <link rel="icon" type="image/svg+xml" href="/favicons/favicon.svg" />
    <link rel="alternate" type="image/png" href="/favicons/favicon.png" />
    <link rel="mask-icon" href="/favicons/pinned-octocat.svg" color="#000000" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- Google search console -->
    <meta name="google-site-verification" content="CNWDKal1HwPI4bIhG5jkySW65FQxwPmYGt7K_gqjY38" />
    <!-- Google analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-WNSSKPKKMG"></script>
    <script>
      window.dataLayer = window.dataLayer || []
      function gtag() {
        dataLayer.push(arguments)
      }
      gtag('js', new Date())
      gtag('config', 'G-WNSSKPKKMG')
    </script>
    <script type="module" crossorigin src="/assets/index-3k4ISoYh.js"></script>
    <link rel="stylesheet" crossorigin href="/assets/style-4KSdVc4m.css">
  </head>
  <body >
    <div id="app"><div class="vue-renderer" data-v-119d6462><header class="navbar" data-v-119d6462 data-v-6b27c662><div class="container" data-v-6b27c662><div class="left" data-v-6b27c662><a href="https://github.com/surmon-china" rel="external nofollow noopener" target="_blank" class="item github" data-v-6b27c662><i class="iconfont icon-github" data-v-6b27c662></i><span class="text" data-v-6b27c662>surmon-china</span></a><span class="dot" data-v-6b27c662>/</span><a href="https://github.com/surmon-china/naivebayes" rel="external nofollow noopener" target="_blank" class="item repository" data-v-6b27c662><span class="text" data-v-6b27c662>naivebayes</span></a></div><div class="right" data-v-6b27c662><button class="item theme" title="System theme" data-v-6b27c662><i class="icon-system-theme iconfont" data-v-6b27c662></i></button><div class="item project" data-v-6b27c662><span class="text" data-v-6b27c662>Projects</span><i class="iconfont icon-arrow-down" data-v-6b27c662></i><div class="mask" data-v-6b27c662></div><div class="projects" data-v-6b27c662><div class="container" data-v-6b27c662><div class="loading" data-v-6b27c662 data-v-0c9f81db><div class="animation" data-v-0c9f81db><!--[--><div data-v-0c9f81db></div><div data-v-0c9f81db></div><div data-v-0c9f81db></div><div data-v-0c9f81db></div><div data-v-0c9f81db></div><!--]--></div></div></div></div></div></div></div></header><div id="share" data-v-119d6462 data-v-53875fee><button class="share-button" title="Share to Twitter" data-v-53875fee><i class="iconfont icon-twitter" data-v-53875fee></i><span class="text" data-v-53875fee>Tweet</span></button></div><div id="toolbox" class="toolbox" data-v-119d6462 data-v-7bf94a39><div class="container" data-v-7bf94a39><div class="tools" data-v-7bf94a39><a href="https://github.com/sponsors/surmon-china" rel="external nofollow noopener" target="_blank" class="item sponsor" data-v-7bf94a39><i class="iconfont icon-heart" data-v-7bf94a39></i><i class="iconfont icon-heart-fill" data-v-7bf94a39></i></a><a href="https://github.com/surmon-china/naivebayes" rel="external nofollow noopener" target="_blank" class="item github" title="to GitHub homepage" data-v-7bf94a39><i class="iconfont icon-github" data-v-7bf94a39></i></a><button class="item to-top" data-v-7bf94a39><i class="iconfont icon-arrow-up" data-v-7bf94a39></i></button></div></div></div><!--[--><main class="homepage" data-v-909800f6><!----><div class="banner" data-v-909800f6 data-v-48961900><div class="banner-content" data-v-48961900><div class="title-skeleton" data-v-48961900><div class="skeleton" style="border-radius:2px;" data-v-48961900 data-v-7aefffbb></div></div><div class="subtitle-skeleton" data-v-48961900><div class="skeleton" style="border-radius:2px;" data-v-48961900 data-v-7aefffbb></div></div><div class="buttons-skeleton" data-v-48961900><!--[--><div class="item-skeleton" data-v-48961900><div class="skeleton" style="border-radius:2px;" data-v-48961900 data-v-7aefffbb></div></div><div class="item-skeleton" data-v-48961900><div class="skeleton" style="border-radius:2px;" data-v-48961900 data-v-7aefffbb></div></div><div class="item-skeleton" data-v-48961900><div class="skeleton" style="border-radius:2px;" data-v-48961900 data-v-7aefffbb></div></div><div class="item-skeleton" data-v-48961900><div class="skeleton" style="border-radius:2px;" data-v-48961900 data-v-7aefffbb></div></div><!--]--></div></div></div><div class="container" data-v-909800f6><!----><!--[--><div class="examples" data-v-162714db><!--teleport start--><!--teleport end--><!--[--><div class="example-item" data-v-162714db><div class="homepage-card" data-v-162714db data-v-84eeb999><div class="header" data-v-84eeb999><span data-v-84eeb999>NaiveBayes Web example</span><!--[--><div class="actions" data-v-162714db><!--[--><!--]--><button class="code-button" data-v-162714db><i class="iconfont icon-code" data-v-162714db></i></button></div><!--]--></div><div class="content" data-v-84eeb999><!--[--><!--[--><div class="naivebayes-example"><div class="example" data-v-3983182e><div class="toolbar" data-v-3983182e><label class="case" data-v-3983182e> Select a case: <select class="select" name="case" id="case" data-v-3983182e><!--[--><option value="0" data-v-3983182e>Base case</option><option value="1" data-v-3983182e>ZH SPAM case</option><option value="2" data-v-3983182e>ZH News case</option><option value="3" data-v-3983182e>ZH Writer case</option><!--]--></select></label><div class="right" data-v-3983182e><button class="button" data-v-3983182e><i class="iconfont icon-play" data-v-3983182e></i><span data-v-3983182e>Run code</span><!----></button><button class="button" data-v-3983182e><i class="iconfont icon-close" data-v-3983182e></i><span data-v-3983182e>Clear logs</span></button><button class="button" data-v-3983182e><i class="iconfont icon-close" data-v-3983182e></i><span data-v-3983182e>Clear code</span></button></div></div><div class="divider" data-v-3983182e></div><div class="v-codemirror" style="display:contents;" data-v-3983182e></div><div class="divider" data-v-3983182e></div><div class="v-codemirror" style="display:contents;" data-v-3983182e></div><div class="divider" data-v-3983182e></div><div class="output" data-v-3983182e><p class="title" data-v-3983182e>Console</p><pre class="result" data-v-3983182e>-</pre></div></div></div><!--]--><!--]--></div></div><!----></div><!--]--></div><!--]--><!----></div></main><!--]--><footer class="footbar" data-v-119d6462 data-v-6630103c><div class="container" data-v-6630103c><span class="footer-content" data-v-6630103c><a href="https://github.com/surmon-china/naivebayes" rel="external nofollow noopener" target="_blank" data-v-6630103c>naivebayes</a><span data-v-6630103c> is maintained by </span><a href="https://github.com/surmon-china" rel="external nofollow noopener" target="_blank" data-v-6630103c>@surmon-china</a></span></div></footer></div></div>
  

</body>
</html>
